<?php /*a:6:{s:53:"E:\course\blog\application/admin/view\home\index.html";i:1517297404;s:55:"E:\course\blog\application/admin/view\public\_meta.html";i:1517314160;s:54:"E:\course\blog\application/admin/view\public\_nav.html";i:1517306304;s:58:"E:\course\blog\application/admin/view\public\_sidebar.html";i:1517304582;s:57:"E:\course\blog\application/admin/view\public\_footer.html";i:1517227412;s:53:"E:\course\blog\application/admin/view\public\_js.html";i:1517227443;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?php echo session('webInfo.webtitle'); ?> v1.0管理后台</title>
    <link rel="shortcut icon" href="/static/admin/images/logo.jpg" type="image/x-icon">
    <link rel="stylesheet" href="/static/admin/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/admin/css/main.css">
</head>
<body>
<nav class="navbar navbar-inverse navbar-static-top navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <a href="<?php echo url('admin/home/index'); ?>" class="navbar-brand"><?php echo session('webInfo.webtitle'); ?></a>
        </div>
        <div class="navbar-menu collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="<?php echo url('admin/home/adminedit', ['username' => session('username')]); ?>"><span class="glyphicon glyphicon-user"></span><?php echo session('username'); ?></a></li>
                <li><a href="<?php echo url('admin/home/loginout'); ?>"><span class="glyphicon glyphicon-off"></span>退出</a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="container admin-body">
    <div class="row">
        <div class="col-xs-2 side-bar">
            <div class="list-group">
    <div class="dropdown">
        <a href="#" class="list-group-item" data-toggle="dropdown">
            栏目管理<span class="glyphicon glyphicon-triangle-bottom pull-right"></span>
        </a>
        <ul class="dropdown-menu dropdown-menu-left">
            <li><a href="<?php echo url('admin/home/catelist'); ?>">栏目列表</a></li>
            <li class="divider"></li>
            <li><a href="<?php echo url('admin/home/cateadd'); ?>">栏目添加</a></li>
        </ul>
    </div>
    <div class="dropdown">
        <a href="#" class="list-group-item" data-toggle="dropdown">
            博文管理<span class="glyphicon glyphicon-triangle-bottom pull-right"></span>
        </a>
        <ul class="dropdown-menu dropdown-menu-left">
            <li><a href="<?php echo url('admin/home/articlelist'); ?>">文章列表</a></li>
            <li class="divider"></li>
            <li><a href="<?php echo url('admin/home/articleadd'); ?>">文章添加</a></li>
        </ul>
    </div>
    <div class="dropdown">
        <a href="#" class="list-group-item" data-toggle="dropdown">
            会员管理<span class="glyphicon glyphicon-triangle-bottom pull-right"></span>
        </a>
        <ul class="dropdown-menu dropdown-menu-left">
            <li><a href="<?php echo url('admin/home/userlist'); ?>">会员列表</a></li>
            <li class="divider"></li>
            <li><a href="<?php echo url('admin/home/useradd'); ?>">会员添加</a></li>
        </ul>
    </div>
    <div class="dropdown">
        <a href="#" class="list-group-item" data-toggle="dropdown">
            系统设置<span class="glyphicon glyphicon-triangle-bottom pull-right"></span>
        </a>
        <ul class="dropdown-menu dropdown-menu-left">
            <li><a href="<?php echo url('admin/home/system'); ?>">系统设置</a></li>
        </ul>
    </div>
</div>
        </div>
        <div class="col-xs-10">
            <div class="content">
                <h3>欢迎使用easyadmin后台模板</h3>
                <p>登陆次数：20</p>
                <p>上次登录IP：<?php echo htmlentities(app('request')->ip()); ?></p>
                <p>上次登录时间：<?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric(app('request')->time())? strtotime(app('request')->time()) : app('request')->time())); ?></p>
                <table class="table table-bordered table-striped table-hover">
                    <thead>
                    <tr>
                        <th colspan="3">服务器信息</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td width="30%">服务器域名</td>
                        <td><?php echo htmlentities(app('request')->domain()); ?></td>
                    </tr>
                    <tr>
                        <td>服务器IP地址</td>
                        <td><?php echo htmlentities(app('request')->server('server_addr')); ?></td>
                    </tr>
                    <tr>
                        <td>服务器端口</td>
                        <td><?php echo htmlentities(app('request')->port()); ?></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<div class="footer">
    <p>Copyright 2018 <a href="#">http://www.dreamphp.com.cn/</a> All Rights Reserved</p>
</div>

<script src="/static/admin/js/jquery-3.3.1.min.js"></script>
<script src="/static/admin/js/bootstrap.min.js"></script>
</body>
</html>